package com.woniu.zsd.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.form.AddAddressForm;
import com.woniu.form.UpdateAddressForm;
import com.woniu.zsd.commons.core.model.Result;
import com.woniu.zsd.user.entity.UserAddress;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-03-27
 */
public interface IUserAddressService extends IService<UserAddress> {

    UserAddress addUserAddress(AddAddressForm aaf, String id);

    UserAddress updateUserAddress(UpdateAddressForm uaf, String id);

    List<UserAddress> selAll(String id);

    UserAddress getUserAddress(String addressId);
}
